package org.example.yiyu.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;


@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CustomErrorResponse {

    private LocalDateTime timestamp;  // 异常发生时间
    private int status;  // HTTP状态码
    private String error;  // 错误类型
    private String message;  // 错误消息


}
